package com.tongzhou.tongzhou.sales.dao;

import java.util.List;

import com.tongzhou.db.exception.DBException;
import com.tongzhou.tongzhou.sales.model.Sales;
import com.tongzhou.tongzhou.sales.model.SearchSalesCondition;

public interface ISalesDAO {
	public List<Sales> getSalesList(int id) throws DBException;
	public List<Sales> getSalesListByPage(SearchSalesCondition condition) throws DBException;
	

	public List<Sales> listSales(SearchSalesCondition condition) throws DBException;
	public int addSales(Sales sales) throws DBException;
	public void deleteSales(int id) throws DBException;
	public Sales getSalesById(int id) throws DBException;
	public void updateSales(Sales sales) throws DBException;

}
